﻿<phone:PhoneApplicationPage
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:controls="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
    xmlns:Maps="clr-namespace:Microsoft.Phone.Controls.Maps;assembly=Microsoft.Phone.Controls.Maps" 
    x:Class="phoneApp.MenuPage" 
    mc:Ignorable="d" d:DesignWidth="480" d:DesignHeight="768"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    SupportedOrientations="Portrait"  Orientation="Portrait"
    shell:SystemTray.IsVisible="True">

    <!--LayoutRoot is the root grid where all page content is placed-->
    <Grid x:Name="LayoutRoot" Background="Transparent">
        <controls:Pivot Title="MY APPLICATION">
            <controls:PivotItem Header="News">
                <ListBox x:Name="scheduledRunsList" HorizontalAlignment="Left" Height="607" VerticalAlignment="Top" Width="456">

                </ListBox>
            </controls:PivotItem>

            <controls:PivotItem Header="Run" Margin="10,28,12,0">

                <Grid HorizontalAlignment="Left" Height="607" VerticalAlignment="Top" Width="458">
                    <TextBlock HorizontalAlignment="Left" Margin="31,185,0,0" TextWrapping="Wrap" Text="Last Runs" VerticalAlignment="Top" Height="45" Width="124"/>
                    <ListBox x:Name="lastRunsListBox" HorizontalAlignment="Left" Height="367" Margin="10,230,0,0" VerticalAlignment="Top" Width="438"/>
                    <Button x:Name="startNewRunButton" Content="Start New Run" HorizontalAlignment="Left" Margin="10,23,0,0" VerticalAlignment="Top" Click="startNewRunButton_Click"/>

                </Grid>


                
            </controls:PivotItem>

            <!--Pivot item four-->
            <controls:PivotItem Header="Settings">
            </controls:PivotItem>
        </controls:Pivot>
    </Grid>

</phone:PhoneApplicationPage>